package com.ruoyi.backups.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * mysql数据备份日志对象 biz_mysql_backlog
 * 
 * @author ruoyi
 * @date 2024-09-06
 */
public class MysqlBacklog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主鍵 */
    private Long id;

    /** 关联mySql配置ID */
    @Excel(name = "关联mySql配置ID")
    private String mysqlId;

    /** 关联OOS配置ID */
    @Excel(name = "关联OOS配置ID")
    private String oosId;

    /** 备份文件大小 */
    @Excel(name = "备份文件大小")
    private String fileSize;

    /** 备份路径 */
    @Excel(name = "备份路径")
    private String filePath;

    /** 访问节点 */
    @Excel(name = "访问节点")
    private String fileEndpoint;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMysqlId(String mysqlId) 
    {
        this.mysqlId = mysqlId;
    }

    public String getMysqlId() 
    {
        return mysqlId;
    }
    public void setOosId(String oosId) 
    {
        this.oosId = oosId;
    }

    public String getOosId() 
    {
        return oosId;
    }
    public void setFileSize(String fileSize) 
    {
        this.fileSize = fileSize;
    }

    public String getFileSize() 
    {
        return fileSize;
    }
    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }
    public void setFileEndpoint(String fileEndpoint) 
    {
        this.fileEndpoint = fileEndpoint;
    }

    public String getFileEndpoint() 
    {
        return fileEndpoint;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("mysqlId", getMysqlId())
            .append("oosId", getOosId())
            .append("fileSize", getFileSize())
            .append("filePath", getFilePath())
            .append("fileEndpoint", getFileEndpoint())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
